package com.jinke.api.modules.app.response;

import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.annotation.write.style.ColumnWidth;
import lombok.Getter;
import lombok.Setter;

import java.math.BigDecimal;
import java.time.LocalDateTime;

/**
 * <p>
 *
 * </p>
 *
 * @author macro
 * @since 2024-01-13
 */
@Getter
@Setter
public class UmsBalanceLogExport {
    @ExcelProperty(index = 0, value = "订单号")
    @ColumnWidth(value = 32)
    private String orderNo;
    @ExcelProperty(index = 1, value = "邮箱")
    @ColumnWidth(value = 32)
    private String email;
    @ExcelProperty(index = 2, value = "变动类型 ")
    @ColumnWidth(value = 32)
    private String type;

    @ExcelProperty(index = 3, value = "钱包类型")
    @ColumnWidth(value = 32)
    private String balanceType;

    @ExcelProperty(index = 4, value = "变动余额")
    @ColumnWidth(value = 32)
    private BigDecimal changeValue;

    @ExcelProperty(index = 5, value = "变动后余额")
    @ColumnWidth(value = 32)
    private BigDecimal afterValue;

    @ExcelProperty(index = 6, value = "备注")
    @ColumnWidth(value = 32)
    private String remark;

    @ExcelProperty(index = 7, value = "更新时间")
    @ColumnWidth(value = 32)
    private LocalDateTime createdAt;

/*    @ExcelProperty(index = 8, value = "详情")
    @ColumnWidth(value = 32)
    private String details;*/

    @ExcelProperty(index = 8, value = "寄件")
    @ColumnWidth(value = 32)
    private String jj;

    @ExcelProperty(index = 9, value = "保证金")
    @ColumnWidth(value = 32)
    private String bzj;

    @ExcelProperty(index = 10, value = "保证金释放")
    @ColumnWidth(value = 32)
    private String sf;
}
